<%--
    Document   : index
    Created on : Nov 3, 2013, 10:25:44 AM
    Author     : Min Tun
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link rel="stylesheet" href="template/style.css" />

        <style>
            body {
                margin-top: 20px;
            }
        </style>
    </head>
    <body>
        <c:set var="account" value="${sessionScope.ACC}"/>
        <div class="container">
            <div class="row">
                <div class="col5" style="margin-right: 0px;">
                    <form class="searchForm" style="float: right;">
                        <input type="text" name="searchKey" value="" placeholder="Nhập từ khóa cần tìm ..."/>
                        <button type="submit"><img src="./template/img/search.png" width="38px" height="38px;"/></button>
                    </form>
                </div>
                <div class="col7 last" style="margin-left: 3.3%;">
                    <div id="nav">
                        <ul>
                            <li><a href="#">Trang chủ</a></li>
                            <li><a href="#">Trang chủ</a></li>
                            <li><a href="#">Trang chủ</a></li>
                            <li><a href="#">Trang chủ</a></li>
                            <li><a href="#">Trang chủ</a></li>
                            <li><a href="#">Trang chủ</a></li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col9 body-content" style="margin-top: 50px;">
                    <div class="row">
                        <div class="col12">
                            <div class="post-content">
                                <span>Nghèo khổ trăm bề anh chị Trần Văn A</span>
                                <div class="info">
                                    <lable id="member"><a href="Controller?btAction=showPost&member=locmxse60602">locmxse60602</a></lable>
                                    <lable id="time">10/10/2013</lable>
                                </div>
                                <div class="clear"></div>
                                <div class="content-area">
                                    AAA AAA AAA AAA AAA AAA
                                    AAA AAA AAA AAA AAA AAA
                                    AAA AAA AAA AAA AAA AAA
                                    AAA AAA AAA AAA AAA AAA
                                    AAA AAA AAA AAA AAA AAA
                                    AAA AAA AAA AAA AAA AAA
                                    AAA AAA AAA AAA AAA AAA
                                    AAA AAA AAA AAA AAA AAA
                                    AAA AAA AAA AAA AAA AAA
                                    AAA AAA AAA AAA AAA AAA
                                    AAA AAA AAA AAA AAA AAA
                                    AAA AAA AAA AAA AAA AAA
                                    AAA AAA AAA AAA AAA AAA
                                    <div id="picture">
                                        <img src="./template/img/1.jpg" />
                                        <img src="./template/img/1.jpg" />
                                    </div>
                                </div>
                                <div class="clear"></div>
                                <div class="donate-area" >
                                    <div class="col10 last">
                                        <form action="Controller" method="get">
                                            <input placeholder="Nhập số tiền muốn giúp đỡ" name="amount" value="" type="text"/>
                                            <input name="pID" value="AESR" type="hidden"/>
                                            <input class="button-blue" type="submit" value="BaoKim.Vn" name="btAction"/>
                                            <input class="button-blue" type="submit" value="NganLuong.Vn" name="btAction"/>
                                        </form>
                                    </div>
                                </div>
                            </div>
                            <div class="comment" >
                                <c:if test="${not empty account}">
                                    <form name="commentForm" action="#" method="post">
                                        <textarea name="commentContent"></textarea>
                                        <input type="submit" name="btAction" value="Bình luận"/>
                                    </form>
                                </c:if>
                                <c:if test="${ empty account}">
                                    <div class="well">
                                        Vui lòng đăng nhập để có thể đăng bình luận! Nếu chưa có tải khoản hãy <a href="#">đăng kí thành viên</a>.
                                    </div>
                                </c:if>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col3 last body-content" style="margin-top: 50px; padding-top: 20px;">
                    <div class="row">
                        <form action="#" id="loginForm">
                            <lable>Tài khoản</lable>
                            <input type="text" name="txtUsername" value="" />
                            <lable>Mật khẩu</lable>
                            <input type="password" name="txtUsername" value="" />
                            <input class="button-blue" type="submit" value="Đăng nhập" name="btAction"/>
                        </form>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col12 body-content" style="margin-top: 50px;">
                </div>
            </div>
        </div>
    </body>
</html>
